EWB\Modules\Custom_Widget\Module S

Total Complexity 44
Dependencies 4
Dependents 1
Total lines 485
Lines of code 201
Logical lines of code 78
Comment lines 179
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
current_admin_menu()
A
60 9 11
maybe_import_ewb_control_data()
S
59 4 14
register_widgets()
S
67 4 8
get_widget_for_elements_panel()
S
61 3 12
ewb_get_widgets_config()
S
51 2 26
builder_preferences()
S
49 1 35
delete_post()
S
65 3 9
save_post()
S
64 3 10
post_states()
S
66 3 8
get_admin_url()
S
63 2 11
__construct()
S
58 1 15
print_widgets()
S
81 1 3
admin_menu()
S
77 1 3
register_location()
S
67 1 8
register_ajax_actions()
S
72 1 5
ajax_save_controls_data()
S
74 1 4
print_widget_fields()
S
83 1 5
print_new_template_fields()
S
71 1 8
register_documents()
S
80 1 3
get_name()
S
82 1 3